package com.hzdesk.media.matvector.koreabatch.client.my_paperless.logic.view;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;

import com.hzdesk.media.matvector.koreabatch.client.my_paperless.R;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.base.BaseActivity;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.custom_view.MyRecyclerView;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.logic.contract.IMettingListContract;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.logic.persenter.MettingListPersenter;

/**
 * Created by Administrator on 2018/8/15.
 * 杭州席媒科技有限公司  Developers  刘传华  10
 * 佛祖镇楼 bug辟易
 */

public class MettingListActivity extends BaseActivity implements IMettingListContract.IMettingListView {

    private MyRecyclerView my_recylerview;
    private LinearLayout rl_download;
    private ImageView empty_view;
    private RelativeLayout rl;

    private MettingListPersenter mMettingListPersenter = new MettingListPersenter(this);

    @Override
    protected void userAgreedPermissions() {

    }

    @Override
    protected View AddLayoutView() {
        View view = View.inflate(this, R.layout.activity_metting_list,null);
        my_recylerview = view.findViewById(R.id.activity_metting_list_my_recylerview);
        rl_download = view.findViewById(R.id.activity_metting_list_rl_download);
        empty_view = view.findViewById(R.id.iv_prompt_empty_view);
        rl = view.findViewById(R.id.my_recyclerview_empty_rl);
        return view;
    }

    @Override
    protected void initChildViewDate() {
        mMettingListPersenter.initTitle();
        mMettingListPersenter.initRecyclerView(my_recylerview,this);
    }

    @Override
    protected void onClickedTvRight() {

    }

    @Override
    protected void onClickedIvRight() {

    }

    @Override
    protected void onClickedIvLeft() {

    }

    @Override
    public void showTitle() {
        showTilteBg();
        showTitleContent();
        showTileIvLeft();
        showTilteRightTVContent();
        //设备管理(6)
        setTitleContent("会议列表", 0xffffffff);
        setTilteRightTVContent("全选",0xffffffff);
        setIvLeftIcon(R.mipmap.left_white_return);
        setTitleContentSize(16);
    }
}
